
public class Mot {
	private String m;
	
	public Mot() {this.m = "";}
	public Mot(String m) {this.m = m;}
	
	public String toString() { return this.m; }
	
	public boolean isEmpty() { return this.m.isEmpty(); }
	
	public boolean isPal() {
		int i = this.m.length();
		boolean b = true;
		
		if(!this.isEmpty())
		{
			for(int x = 0; x < i/2; x++)
			{
				if(this.m.charAt(x) != this.m.charAt(i - 1 - x))
				{
					b = false;
				}
			}
		}
		
		return b;
	}
}
